Espressif Systems /ESP32-S3 /LEDC /CH1_CONF0

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as CH1_CONF0

31282724232019161512118743000000000000000000000000000000000000000000TIMER_SEL0 (SIG_OUT_EN)SIG_OUT_EN0 (IDLE_LV)IDLE_LV0 (PARA_UP)PARA_UP0OVF_NUM0 (OVF_CNT_EN)OVF_CNT_EN0 (OVF_CNT_RESET)OVF_CNT_RESET0 (OVF_CNT_RESET_ST)OVF_CNT_RESET_ST

Description

Configuration register 0 for channel 1

Fields

TIMER_SEL

This field is used to select one of timers for channel %s.

0: select timer0

1: select timer1

2: select timer2

3: select timer3

SIG_OUT_EN

Set this bit to enable signal output on channel %s.

IDLE_LV

This bit is used to control the output value when channel %s is inactive (when LEDC_SIG_OUT_EN_CH%s is 0).

PARA_UP

This bit is used to update LEDC_HPOINT_CH%s, LEDC_DUTY_START_CH%s, LEDC_SIG_OUT_EN_CH%s, LEDC_TIMER_SEL_CH%s, LEDC_DUTY_NUM_CH%s, LEDC_DUTY_CYCLE_CH%s, LEDC_DUTY_SCALE_CH%s, LEDC_DUTY_INC_CH%s, and LEDC_OVF_CNT_EN_CH%s fields for channel %s, and will be automatically cleared by hardware.

OVF_NUM

This register is used to configure the maximum times of overflow minus 1.

The LEDC_OVF_CNT_CH%s_INT interrupt will be triggered when channel %s overflows for (LEDC_OVF_NUM_CH%s + 1) times.

OVF_CNT_EN

This bit is used to enable the ovf_cnt of channel %s.

OVF_CNT_RESET

Set this bit to reset the ovf_cnt of channel %s.

OVF_CNT_RESET_ST

This is the status bit of LEDC_OVF_CNT_RESET_CH%s.

Links

() ()